/**
 * @file com.demon.esport.admin.common.convert
 * @CopyRight (C) www.10-game.com
 * @author jeffreychan
 * @email mebeyfeng@qq.com
 * @date 2018/10/19 00:35
 */

package com.demon.esport.admin.common.convert;

import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpOutputMessage;
import org.springframework.http.converter.HttpMessageNotWritableException;

import java.io.IOException;

/**
 * @author: jeffreychan
 * @Date: 2018/10/19 00:35
 * @Description: 消息返回转换.
 */
@Slf4j
public class AdminJsonHttpMessageConverter extends FastJsonHttpMessageConverter {

    @Override
    protected void writeInternal(Object object, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException {
        super.writeInternal(object, outputMessage);
    }
}
